package com.rem.chat.common.errcode;

public interface GlobalErrorCodeConstants {
    ErrorCode SUCCESS = new ErrorCode(200, "成功！");

    ErrorCode INTERNAL_SERVER_ERROR = new ErrorCode(500, "系统异常！");

    ErrorCode UNKNOWN = new ErrorCode(520, "未知错误");

    ErrorCode CLIENT_ERROR = new ErrorCode(400, "客户端错误！");

    ErrorCode UN_AUTHORIZED = new ErrorCode(401, "未授权");

    ErrorCode FORBIDDEN = new ErrorCode(403, "禁止访问");

    ErrorCode NOT_FOUND = new ErrorCode(404,"未找到页面");
}
